<style>
    div {
        -webkit-writing-mode: vertical-rl;
        font-size: 36px;
        font-family: HiraMinProN-W3;
    }
    span {
        -webkit-text-combine: horizontal;
    }
</style>
<div>
    <span>1</span><span>23</span><span>456</span><span>7890</span>
</div>
